
SRC=$(wildcard *.cpp)
OBJ=$(SRC:.cpp = .o)

thread:$(SRC)
	g++ -o $@ $^ -l pthread
.PHONY:clean
clean:
	rm -rf thread
